package com.nttuan.model.entity;

import org.json.JSONObject;

/**
 * Created by NT Tuan on 10/20/2014.
 */
public class Contact {
    private static final String TAG = "contact entity";

    public static final String TABLE_NAME = "contact";
    public static final String CONTACT_ID = "contactId";
    public static final String ATTEND = "attend";
    public static final String LEADER = "leader";
    public static final String IS_ACTIVE = "isActive";

    private int contactId;
    private boolean attend;
    private boolean leader;
    private boolean isActive;
    private Task task;
    private User user;



    public Contact(){}

    public Contact(int contactId, boolean attend, boolean leader, boolean isActive) {
        this.contactId = contactId;
        this.attend = attend;
        this.leader = leader;
        this.isActive = isActive;
    }

    public int getContactId() {
        return contactId;
    }

    public void setContactId(int contactId) {
        this.contactId = contactId;
    }

    public boolean isAttend() {
        return attend;
    }

    public void setAttend(boolean attend) {
        this.attend = attend;
    }

    public boolean isLeader() {
        return leader;
    }

    public void setLeader(boolean leader) {
        this.leader = leader;
    }

    public boolean isActive() {
        return isActive;
    }

    public void setActive(boolean isActive) {
        this.isActive = isActive;
    }

    public Task getTask() {
        return task;
    }

    public void setTask(Task task) {
        this.task = task;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }
}
